package com.baizhi.service;

import com.baizhi.entity.Emp;
import com.baizhi.entity.EmpCondition;

import java.util.List;
import java.util.Map;

public interface EmpService {

    /*Map<String,Object> findAll(Integer page,Integer rows);*/

    void save(Emp emp);

    void delete(String id);

    Emp findOne(String id);

    void update(Emp emp);

    public Map<String,Object> findAllPage(Integer page, Integer rows, String name,Integer minAge,Integer maxAge,Double minSalary,Double maxSalary);
}
